Release 10.1A: OpenEdge Development:
Progress Dynamics Getting Started


Using the Connection and Configuration Managers

To complete your work, follow these steps to define a session type to start the application. The session type includes all the necessary information for launching a run-time, AppServer, development, or Web UI version of Progress Dynamics, making the correct connections to the Repository and the DynSports database, and launching the application itself. It is possible to configure session types to support many different platforms and deployment configurations. This tutorial covers only the basic settings.

To create a session type:

  1. Choose Session Logical Service Control from the Administration window. The Logical Service Control window appears:
  2. Choose Add to add a new service for the DynSports database. The Logical Service Maintenance window appears.
  3. Set the values from the following table for the new service:
  4. Field
    Value
    Logical service code
    dynsports
    Logical service description
    DynSports application database
    Service type
    Database Connection (Database)
    Can run locally
    Selected
    System owned
    Not selected
    Write to config
    Selected
    Connect at startup
    Selected

    The Can run locally toggle box enables you to start a session type with just a local database connection. The Write to config toggle box tells the framework to write out the information you are defining to a generated configuration file. This makes the service you define a part of the startup parameters for the session, not just something available to be run on demand after the session is started. The Connect at startup toggle box tells the framework whether or not to immediately attempt a connection when starting. If a service is not needed immediately, it might be better to not add the overhead to the startup of your application. For example:

  5. Choose Save, then exit the maintenance and control dialog boxes.
  6. Choose Session Physical Service Control from the Administration window. The Physical Service Control window appears:
  7. Choose Add to add a new service for the local DynSports database connection. The Physical Service Maintenance window appears.
  8. Set the following values on the Details tab for the new service:
  9. Field
    Value
    Physical service code
    dynsports
    Physical service description
    DynSports application database
    Service type
    Database Connection / Database
    Physical Database Name (-db)
    dynsports
    Network Type (-N)
    TCP
    Host (-H)
    localhost
    Service (-S)
    dynsports

    The other options can be left blank.

    Although the DynSports database is local on your machine, you will still use a network connection to see how it is done, as shown:

    Remember that you set up an entry for the DynSports database in your Services file in the "Adding an entry to the Windows Services file" section.

  10. Choose Save, then exit the maintenance and control windows.

Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095